package com.huatai.saas.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

@Data
public class WorkingOrderListVO implements Serializable {
	private static final long serialVersionUID = 4549056578326895759L;

	@ApiModelProperty("工单主键id")
	private Long id;

	@ApiModelProperty(value = "工单编号", required = true)
	@NotBlank(message = "工单编号不能为空")
	private String orderNumber;

	@ApiModelProperty(value = "用户名称", required = true)
	private String userName;

	@ApiModelProperty(value = "用户id", required = true)
	private Long userId;

	@ApiModelProperty(value = "父级id", required = true)
	private Long parentId;

	@ApiModelProperty(value = "子类id", required = true)
	private Long childId;

	@ApiModelProperty(value = "底板或场景名称", required = true)
	private String childName;

	@ApiModelProperty(value = "工单问题描述", required = true)
	@NotBlank(message = "问题描述不能为空")
	private String description;

	@ApiModelProperty(value = "联系电话", required = true)
	private String phone;

	@ApiModelProperty(value = "工单状态", required = true)
	private Integer orderStatus;

	@ApiModelProperty(value = "工单处理结果")
	private String result;

	@ApiModelProperty(value = "处理人的账号")
	private String account;

	@ApiModelProperty(value = "处理人的名字")
	private String processName;

	@ApiModelProperty(value = "工单排序序号", required = true)
	private Integer sort;
}
